<?php
return [
    "name" => "zf_店铺管理",
    "list" => [
        "店铺详情" => [
            "desc"  => "店铺详情",
            "url"   => "/zfshop/userext/details",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": {
        "username": "2",
        "pic": "1",
        "introduce": "3"
    },
    "count": 0
}

EOT
,
        ],
        "店铺详情(userid)" => [
            "desc"  => "店铺详情(userid)",
            "url"   => "/zfshop/Shareshop/detailsId",
            "method"=> "post",
            "param" => [
                "user_id" => [
                    "lable"         => "用户ID",
                    "type"          => "text",
                    "placeholder"   => "用户ID",
                    "value"         => "",
                ],
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": {
        "id": "2",
        "username": "2",
        "pic": "1",
        "introduce": "3"
    },
    "count": 0
}

EOT
            ,
        ],
        "代理商品" => [
            "desc"  => "代理商品",
            "url"   => "/zfshop/Goodsagent/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "分页",
                    "type"          => "text",
                    "placeholder"   => "分页",
                    "value"         => "",
                ],
            ],
            "reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": [
        {
            "goods_id": 1,
            "goods_name": "测试商品",
            "pic": "/uploads//images/2018/06/05/9e507b8c69763e01d4a5afb8dfbb8876.jpeg",
            "price": "0.02",
            "point": 0,
            "goods_agent_id（代理ID）": 1
        }
    ],
    "count": 1
}

EOT
            ,
        ],
        "代理商品(店铺id)" => [
            "desc"  => "代理商品(店铺id)",
            "url"   => "/zfshop/Shareshop/goodsLists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "shop_id" => [
                    "lable"         => "店铺id",
                    "type"          => "text",
                    "placeholder"   => "店铺id",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "分页",
                    "type"          => "text",
                    "placeholder"   => "分页",
                    "value"         => "",
                ],
            ],
            "reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": [
        {
            "goods_id": 1,
            "goods_name": "测试商品",
            "pic": "/uploads//images/2018/06/05/9e507b8c69763e01d4a5afb8dfbb8876.jpeg",
            "price": "0.02",
            "point": 0,
            "goods_agent_id（代理ID）": 1
        }
    ],
    "count": 1
}

EOT
            ,
        ],
        "可代理商品列表" => [
            "desc" => "可代理商品列表",
            "url" => "/zfshop/goodsagent/goodslists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable" => "页数",
                    "type" => "text",
                    "placeholder" => "页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "每页条数",
                    "type" => "text",
                    "placeholder" => "每页条数",
                    "value" => "",
                ],
            ],
"reback_demo" => <<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "title": "商品标题",
        "price": "价格",
        "pic": "封面图",
        "point": "可抵扣积分",
        "sales_volume": "销量",
        "gulijin_money": "鼓励金"
    },
    "count": 0
}
EOT
        ],
        "编辑店铺" => [
            "desc"  => "代理商品",
            "url"   => "/zfshop/userext/edit",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "ext" => [
                    "lable"         => "字段名称",
                    "type"          => "text",
                    "placeholder"   => "店铺头像:pic  店铺名称:username  简介:introduce",
                    "value"         => "",
                ],
                "value" => [
                    "lable"         => "值",
                    "type"          => "text",
                    "placeholder"   => "值",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "保存成功",
    "count": 0
}
EOT
,
        ],
        "数量统计" => [
            "desc"  => "数量统计",
            "url"   => "/zfshop/userext/numberstatistics",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": {
        "son(下载)1": 0,
        "son0(关注)": 0,
        "son1(VIP)": 0,
        "son2(零售商)": 0,
        "son3(批发商)": 0,
        "son4(代理商)": 0
    },
    "count": 0
}
EOT
,
        ],
        "我的下载" => [
            "desc"  => "我的下载",
            "url"   => "/zfshop/userext/myson",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "分页",
                    "type"          => "text",
                    "placeholder"   => "分页",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": [
        {
            "username": "test",
            "pic": "",
            "phone": "13000000000"
        }
    ],
    "count": 1
}
EOT
,
        ],
        "删除代理产品" => [
            "desc"  => "删除代理产品",
            "url"   => "/zfshop/goodsagent/del",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "代理记录id",
                    "type"          => "text",
                    "placeholder"   => "代理记录id",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "删除成功",
    "count": 1
}
EOT
,
        ],
        "添加代理产品" => [
            "desc"  => "添加代理产品",
            "url"   => "/zfshop/goodsagent/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "goods_id" => [
                    "lable"         => "商品ID",
                    "type"          => "text",
                    "placeholder"   => "商品ID",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "添加成功",
    "count": 1
}
EOT
,
        ],
        "申请开店" => [
            "desc"  => "申请开店",
            "url"   => "/zfshop/shopapply/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "title" => [
                    "lable"         => "店铺名",
                    "type"          => "text",
                    "placeholder"   => "店铺名",
                    "value"         => "",
                ],
                "name" => [
                    "lable"         => "姓名",
                    "type"          => "text",
                    "placeholder"   => "姓名",
                    "value"         => "",
                ],
                "phone" => [
                    "lable"         => "联系电话",
                    "type"          => "text",
                    "placeholder"   => "联系电话",
                    "value"         => "",
                ],
                "cat_title" => [
                    "lable"         => "商品类目",
                    "type"          => "text",
                    "placeholder"   => "商品类目",
                    "value"         => "",
                ],
                "address" => [
                    "lable"         => "厂家地址",
                    "type"          => "text",
                    "placeholder"   => "厂家地址",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "操作成功",
    "count": 0
}

EOT
,
        ],
        "编辑开店" => [
            "desc"  => "编辑开店",
            "url"   => "/zfshop/shopapply/edit",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "ID",
                    "type"          => "text",
                    "placeholder"   => "ID",
                    "value"         => "",
                ],
                "title" => [
                    "lable"         => "店铺名",
                    "type"          => "text",
                    "placeholder"   => "店铺名",
                    "value"         => "",
                ],
                "name" => [
                    "lable"         => "姓名",
                    "type"          => "text",
                    "placeholder"   => "姓名",
                    "value"         => "",
                ],
                "phone" => [
                    "lable"         => "联系电话",
                    "type"          => "text",
                    "placeholder"   => "联系电话",
                    "value"         => "",
                ],
                "cat_title" => [
                    "lable"         => "商品类目",
                    "type"          => "text",
                    "placeholder"   => "商品类目",
                    "value"         => "",
                ],
                "address" => [
                    "lable"         => "厂家地址",
                    "type"          => "text",
                    "placeholder"   => "厂家地址",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "操作成功",
    "count": 0
}
EOT
,
        ],
        "申请详情" => [
            "desc"  => "申请详情",
            "url"   => "/zfshop/shopapply/details",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": {
        "id": 1,
        "user_id": 1,
        "title": "标题",
        "name": "名称",
        "phone": "电话",
        "cat_title": "分类名称",
        "address": "地址",
        "create_time": 1528421089
    },
    "count": 0
}
EOT
,
        ],
        "升级vip云店" => [
            "desc"  => "升级vip云店",
            "url"   => "/zfshop/Uservip/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "level_id" => [
                    "lable"         => "等级ID",
                    "type"          => "text",
                    "placeholder"   => "等级ID",
                    "value"         => "",
                ],
                "pay_type" => [
                    "lable"         => "支付方式",
                    "type"          => "text",
                    "placeholder"   => "0微信 1支付宝",
                    "value"         => "",
                ],
                "spassword" => [
                    "lable" => "支付密码",
                    "type" => "text",
                    "placeholder" => "支付密码可以不传",
                    "value" => "",
                ],
                "invitecode" => [
                    "lable"         => "推荐关系",
                    "type"          => "text",
                    "placeholder"   => "邀请码",
                    "value"         => "",
                ],
                "user_sign" => [
                    "lable"         => "用户签名",
                    "type"          => "text",
                    "placeholder"   => "用户签名（可不填）",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "操作成功",
    "count": 1
}
EOT
,
        ],
        "等级升级" => [
            "desc"  => "等级升级",
            "url"   => "/zfshop/Userupgrade/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "level_id" => [
                    "lable"         => "等级ID",
                    "type"          => "text",
                    "placeholder"   => "等级ID",
                    "value"         => "",
                ],
                "pay_type" => [
                    "lable"         => "支付方式",
                    "type"          => "text",
                    "placeholder"   => "0微信 1支付宝",
                    "value"         => "",
                ],
                "spassword" => [
                    "lable" => "支付密码",
                    "type" => "text",
                    "placeholder" => "支付密码可以不传",
                    "value" => "",
                ],
                "user_sign" => [
                    "lable"         => "用户签名",
                    "type"          => "text",
                    "placeholder"   => "用户签名（可不填）",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": "操作成功",
    "count": 1
}
EOT
,
        ],
        "等级设置列表" => [
            "desc"  => "等级设置列表",
            "url"   => "/zfshop/userlevelconfig/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": [
        {
            "id": 1,
            "title": "等级名称",
            "level": "等级",
            "stock": "库存",
            "content": "描述",
            "money": "价格",
            "update_time": null,
            "create_time": null
        }
    ],
    "count": 0
}
EOT
,
        ],
        "库存记录" => [
            "desc"  => "库存记录",
            "url"   => "/zfshop/Uservipnumslog/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "type" => [
                    "lable"         => "类型",
                    "type"          => "text",
                    "placeholder"   => "0增加 1减少",
                    "value"         => "",
                ],
                "ym" => [
                    "lable"         => "年月",
                    "type"          => "text",
                    "placeholder"   => "年月",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "pic": "头像",
                "username": "用户名",
                "phone": "电话",
                "nums": "数量",
                "create_time": 1526198974,
                "type": "0增加 1减少",
                "create_time_name": "2018-05-13 16: 09: 34"
            }
        ],
        "curl_ym": "201805",
        "ym": "201804"
    },
    "count": 0
}
EOT
,
        ],

    ],
];
